﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo02
{
    class Square:Shape
    {
        public double sideLen;

        public double Sidelen
        {
            get { return sideLen; }
            set { this.sideLen = value; }
        }

        public override void GetArea(double radius)
        {
            Console.WriteLine(radius * radius);
        }
    }
}
